<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>服务器内部错误 - 500错误</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #333;
        }

        .container {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            padding: 40px;
            text-align: center;
            max-width: 600px;
            width: 90%;
            backdrop-filter: blur(10px);
        }

        .error-code {
            font-size: 8rem;
            font-weight: bold;
            color: #f5576c;
            margin-bottom: 20px;
            text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
        }

        h1 {
            font-size: 2rem;
            margin-bottom: 20px;
            color: #4a5568;
        }

        p {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 30px;
            color: #4a5568;
        }

        .btn {
            display: inline-block;
            padding: 15px 30px;
            background: linear-gradient(45deg, #f093fb, #f5576c);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            margin: 10px;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }

        .btn-home {
            background: linear-gradient(45deg, #4CAF50, #45a049);
        }

        .btn-refresh {
            background: linear-gradient(45deg, #2196F3, #0b7dda);
        }

        .technical-details {
            background: #f7fafc;
            border-radius: 10px;
            padding: 20px;
            margin: 30px 0;
            text-align: left;
        }

        .technical-details h3 {
            color: #f5576c;
            margin-bottom: 10px;
        }

        .technical-details p {
            font-size: 0.9rem;
            color: #718096;
            margin-bottom: 0;
        }

        footer {
            margin-top: 30px;
            color: #718096;
            font-size: 0.9rem;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="error-code">500</div>
    <h1>哎呀！服务器出了点问题</h1>
    <p>很抱歉，我们的服务器似乎遇到了一些技术问题。我们的工程师已经收到通知，正在紧急修复中。请稍后再试。</p>

    <div class="technical-details">
        <h3>错误详情</h3>
        <p><strong>错误代码:</strong> 500 Internal Server Error</p>
        <p><strong>描述:</strong> 服务器遇到了一个未曾预料的状况，导致无法完成对请求的处理。</p>
    </div>

    <div class="actions">
        <a href="index.html" class="btn btn-home">返回首页</a>
        <a href="javascript:location.reload()" class="btn btn-refresh">重新加载</a>
        <a href="javascript:history.back()" class="btn">返回上页</a>
    </div>

    <footer>
        <p>&copy; 2025 我们的网站. 保留所有权利.</p>
    </footer>
</div>

<script>
    // 自动刷新功能（可选）
    function autoRefresh() {
        const refreshInterval = 30000; // 30秒
        setTimeout(function() {
            const confirmRefresh = confirm("页面已尝试自动刷新，是否现在刷新页面？");
            if (confirmRefresh) {
                location.reload();
            }
        }, refreshInterval);
    }

    // 启动自动刷新计时器
    // autoRefresh();
</script>
</body>
</html>
